package experiment1;
import java.util.Scanner;
public class No5 {
    public static void main(String []args)
    {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入分钟数：");
        int min=input.nextInt();
        int year=0;
        int day=0;
        while (min>(60*24*365))
        {
            year=year+1;
            min=min-(60*24*365);
        }
        while (min>(60*24))
        {
            day=day+1;
            min=min-(60*24);
        }
        System.out.println("总计"+year+"年 "+day+"天");
    }
}
